package GUI;

import java.util.ArrayList;
import java.util.ArrayList;

import Control.Episode;
import Control.Season;


public class SeasonEpisodeInfoPanelData{
		public ScrollBar scrollBar;
		public PlusMinusButton pmButton;
		public SeasonButton sb;
		public ArrayList<EpisodeButton> ebs;
		
		////////////////////////////////////////////////////////////////////////////////////////////////////
		public SeasonEpisodeInfoPanelData(Season s){
			scrollBar = new ScrollBar();
			pmButton = new PlusMinusButton();
			sb = new SeasonButton(s);
			ebs = new ArrayList<EpisodeButton>();
			ArrayList<Episode> episodes = s.getEpisodes();
			for (int i=0;i<episodes.size();i++){
				ebs.add(new EpisodeButton(episodes.get(i)));
			}	
		}
	}